﻿namespace ExcelUnity.Exporter.Exporters
{
    /// <summary>
    /// 工作簿配置信息
    /// </summary>
    public class ExportSheetConfig
    {
        /// <summary>
        /// 工作簿
        /// </summary>
        /// <param name="sheetName">名称</param>
        /// <param name="displayGridlines">是否显示网格线</param>
        public ExportSheetConfig(string sheetName, bool displayGridlines = true)
        {
            SheetName = sheetName;
            DisplayGridlines = displayGridlines;
        }

        /// <summary>
        /// sheet名称
        /// </summary>
        public string SheetName { get; set; }

        /// <summary>
        /// 是否显示网格线
        /// </summary>
        public bool DisplayGridlines { get; set; }

        /// <summary>
        /// 导出数据的title
        /// </summary>
        public ExportSheetTitle? Title { get; set; }
    }
}